using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace DD.Category
{
    public static class CategoryManager
    {
        public static bool CategoryAssigned(int catid)
        {
            if (DD.Data.SQL.CategoryManager.CountProductsCategoryAssingedTo(catid) > 0)
            {
                return true;
            }
            else
            {
                return false;
            }
        }
    }
}
